#-------------------------------------------------
#
# Project created by QtCreator 2012-08-28T21:15:26
#
#-------------------------------------------------

QT       += core gui

TARGET = Cocos2d_SceneEditTool
TEMPLATE = app

CONFIG += uitools


CONFIG(debug, debug|release) {
    DESTDIR = ../../cocos2d-x_for_qt/Debug.qt
}

CONFIG(release, debug|release) {
    DESTDIR = ../../cocos2d-x_for_qt/Release.qt
}


win32 {
    LIBS += -L$(DESTDIR) -llibcocos2d
    LIBS += -L$(DESTDIR) -llibxml2
}
DEFINES += CC_UNDER_QT

INCLUDEPATH += ../../cocos2d-x_for_qt/cocos2dx/platform \
        ../../cocos2d-x_for_qt/cocos2dx/include \
        ../../cocos2d-x_for_qt/cocos2dx \
        ../../cocos2d-x_for_qt\cocos2dx\platform\third_party\win32\libxml2 \
        ../../cocos2d-x_for_qt\cocos2dx\platform\third_party\win32\iconv \

include(lib/qtpropertygrid/qtpropertybrowser.pri)

SOURCES += main.cpp\
        mainwindow.cpp \
    cocoapp/HelloWorldScene.cpp \
    cocoapp/AppDelegate.cpp \
    TreeWidget_CCScene.cpp \
    qtext/QTree.cpp \
    qtcoco/CocoHieriachy.cpp \
    qtcoco/CocoMenu.cpp \
    PEditors_CCProperties.cpp \
    properties/pefactory.cpp \
    properties/pe_ccnode.cpp \
    properties/pe_cclayercolor.cpp \
    properties/pe_cclayer.cpp \
    properties/pe_ccmenuitemfont.cpp \
    properties/pe_ccrgbaprotocol.cpp \
    properties/pe_ccmenuitemtoggle.cpp \
    properties/pe_ccmenuitemsprite.cpp \
    properties/pe_ccsprite.cpp \
    properties/pe_cclabelttf.cpp \
    cocoext/cclabelttf_ext.cpp \
    cocowindow.cpp \
    cocoapp/ccnodeext.cpp \
    output/cswriter.cpp \
    constantManager.cpp \
    output/csreader.cpp \
    properties/pe_ccparticlesystem.cpp \
    CCQTSceneDirector.cpp \
    cocoext/ccparticlesystem_ext.cpp


HEADERS  += mainwindow.h \
    cocoapp/HelloWorldScene.h \
    cocoapp/AppDelegate.h \
    TreeWidget_CCScene.h \
    qtext/QTree.h \
    CCQTSceneDirector.h \
    qtcoco/CocoHieriachy.h \
    qtcoco/CocoMenu.h \
    PEditors_CCProperties.h \
    properties/pe_ccnode.h \
    properties/pe_cclayer.h \
    properties/pe_cclayercolor.h \
    properties/pefactory.h \
    properties/pe_ccmenuitemfont.h \
    properties/pe_ccrgbaprotocol.h \
    properties/pe_ccmenuitemtoggle.h \
    properties/pe_ccmenuitemsprite.h \
    properties/pe_ccsprite.h \
    properties/pe_cclabelttf.h \
    cocoext/cclabelttf_ext.h \
    cocowindow.h \
    cocoapp/ccnodeext.h \
    output/cswriter.h \
    constantManager.h \
    output/csreader.h \
    output/xmlNodeHelper.h \
    helper/MemoryHelper.h \
    properties/pe_ccparticlesystem.h \
    cocoext/ccparticlesystem_ext.h
    

FORMS    += mainwindow.ui \

OTHER_FILES += \
    undonetask.txt \
    Resources/ball.png \
    Resources/test.txt \
    images/save.png \
    images/paste.png \
    images/open.png \
    images/new.png \
    images/cut.png \
    images/copy.png

RESOURCES += \
    res.qrc \
    application.qrc
